package com.cx.service.imp;

import com.cx.dao.CartoonDao;
import com.cx.entity.CartoonCharacter;
import com.cx.entity.User;
import com.cx.service.CartoonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: CartoonServiceImp
 * @Description:
 * @Author: cx
 * @Date: 2022/10/23 11:17
 **/
@Service("cartoonServiceImp")
public class CartoonServiceImp implements CartoonService {

    @Autowired
    private CartoonDao cartoonDao;

    @Override
    public List<CartoonCharacter> findAllCartoonCharacter() {
        System.out.println("查询所有用户成功");
        return cartoonDao.findAllCartoonCharacter();
    }

    @Override
    public void insertCartoonCharacter(User user) {

    }
}
